spl: dm: Kconfig: SPL_RAM depends on SPL_DM
authorPhilipp Tomsich <[email protected]>
Wed, 28 Jun 2017 23:41:52 +0000 (01:41 +0200)
committerPhilipp Tomsich <[email protected]>
Sun, 13 Aug 2017 15:12:20 +0000 (17:12 +0200)
This commit models the dependency from SPL_RAM to SPL_DM in Kconfig.

Signed-off-by: Philipp Tomsich <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
drivers/ram/Kconfig

index 61afd7a92a4814111ee0b12ee912ee12825f8a4c..e75c23ff17e36896bc31faa7c5340b583a677928 100644 (file)
@@ -10,7 +10,7 @@ config RAM
 
 config SPL_RAM
        bool "Enable RAM support in SPL"
-       depends on RAM
+       depends on RAM && SPL_DM
        help
          The RAM subsystem adds a small amount of overhead to the image.
          If this is acceptable and you have a need to use RAM drivers in